{extend name="../../index/view/public/mlay" /}
{block name="title"}{$column_info.name}{/block}
{block name="style"}
<style>
.name{
	font-size: .85rem;
}
.mobile, .zhiwu{
	font-size: .7rem;
	color: #999;
	height: 1.2rem;
	overflow: hidden;
}
.small-cover{max-width: 46px !important;}
.pagination{text-align: center;}
.weui-media-box__desc {
    -webkit-line-clamp: 1;
}
.weui-media-box_appmsg .weui-media-box__hd{height: 2rem; width: 2rem; line-height: 2rem;}
.weui-media-box_appmsg .weui-media-box__thumb{vertical-align: middle;}
</style>
{/block}
{block name="header"}
{gt name="column_info.banner" value="0"}
<img class="block" src="{$column_info.banner|get_file_path}"/>
<div class="line-div clear"></div>
{else /}
<!-- Header -->
<header class="bar bar-nav bgr">
	<a class="fl external" href="javascript:;" onClick="javascript:history.back(-1);"><i class="ico ico-left"></i></a>
	<h4>{$page_title|default=""}</h4>
	<a class="fr external" href="{:url('user/index/index')}"><i class="ico ico-user"></i></a>
</header>
<!-- END Header -->
{/gt}
{/block}
{block name="container"}
<!-- Main Container -->
<div class="weui-panel weui-panel_access mt0">
	<div class="weui-panel__bd" id="list">
		{volist name="columns" id="vo"}
		<a href="{:url('cms/column/list', ['id' => $vo.id])}" class="weui-media-box weui-media-box_appmsg">
			<div class="weui-media-box__hd">
				{lt name="vo.icon" value="0"}
				<img class="weui-media-box__thumb small-cover" src="{$column_info.icon|get_file_path}" alt="{$vo.name}">
				{else /}
				<img class="weui-media-box__thumb small-cover" src="{$vo.icon|get_file_path}" alt="{$vo.name}">
				{/lt}
			</div>
			<div class="weui-media-box__bd">
				<h4 class="weui-media-box__title">{$vo.name}</h4>
			</div>
		</a>
		{/volist}
	</div>
</div>
<!-- END Main Container -->
{/block}
{block name="copyright"}
{/block}
{block name="page-footer"}
<div class="footer hidden"></div>
{/block}
{block name="script"}
{/block}